1. Testing with Visual Studio 2010 Breaking the walls between developers and testers Steve Lange Developer Technology Specialist Microsoft | Denver, CO stevenl@microsoft.com | blogs.msdn.com/slange
2. Agenda Introductions Microsoft’s Approach to Testing Test Capabilities in Visual Studio 2010 Test Case Management Test Plans, Test Suites, & Test Cases Lab Management Rich & Actionable Bugs Perform Exploratory testing Coded UI Test 2
3. The State Of SW Development An Acceptable Rate of Failure? Based on time, budget, and delivering specified functionality 68% of projects never made it into production or were cancelled 1 Can we continue to support this level of Success?2 Extreme Chaos, The Standish Group International, Inc. – 2009 Average Costoverrun: 45% Average Timeoverrun: 63% Functionalitydelivered on average: 67% 2. Extreme Chaos, The Standish Group International, Inc - 2009 Source: 1. Dave West, Forrester Research
4. Frustrations in development teams 4 “my testers are spending too long testing the same thing” “tooling is expensive (time, licenses, people)” “the developers say the defects are useless” “when is my software ready to ship?” “we have a changed requirement, what do I need to test?” “developers and testers work in silos and don’t communicate/speak the same language”
5. Challenges QA is not aligned with lifecycle Developers and testers work in silos QA is not leveraged
7. Tester Segmentation 70% of testing happens here majority of test tools target here black box testing white box testing api testing
8.
9.
10.
11.
12. Goals for 2010 Release - Testing Align QA with the Lifecycle Create tighter Dev/Test interaction Enable highly leveraged QA teams
13. VS 2010 Test Capabilities generalist specialist coded UI test unit testing web performance test test runner load test test case management virtual lab management data diagnostic adapters (video, action log, event log etc) team foundation server with reporting (bugs, requirements, user stories, source control, build)
14. Visual Studio 2010 Test Components Server Components Client Components Lab Management SCVMM VM Host Library Shares Agent Team Foundation Server (TFS) Visual Studio 2010 Load Agent Lab Management Microsoft Test & Lab Manager (MTLM) Visual Studio Pro TFS Web Access Test Case Management Controller Build Management Load Agent Agent Work Item Tracking Source Control Agent Collector Agent Target Server Build Server Build Server Updated New
19. Test Case Management Create, organize, and run test cases Manage a suite hierarchy Includes “Dynamic” suites Configure active iterations First-class Work Items in TFS Can be data-driven 19
20. Microsoft Confidential 20 Test Case is first class work item in TFS Detailed steps along with expected results
41. Lab Management Architecture System Center Virtual Machine Manager Team Foundation Server (TFS) Lab Management Test Case Management Microsoft Test & Lab Manager (MTLM) Build Management Hyper-V Hosts VM Library Shares Work Item Tracking VM 1 Share 1 Source Control VM 2 Share 2 VM 3 Share 3 Updated New VM 4 Share 4 41
47. Microsoft Confidential 47 Manage snapshots for environment Access environment using Lab Environment Viewer
48. Lab Management for Distributed Team Lower cost of ownership Now have a visual face to the lab! No waiting - Create machines on a remote site without assistance Get traction of idle machines using “last accessed time” Friction free – Mark and reserve your machines